package com.cloud.lesson.dao;

import com.cloud.lesson.enity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author: Mr.Lai
 * @createTime: 2020/12/14
 * @classNote:
 **/
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
